package lab2;

import javax.swing.*;

public class GridLayoutBuilder extends Builder{
    @Override
    void buildTable() {
        JFrame frame = new JFrame("BuilderDemo - JTable_Table");
        frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
        frame.getContentPane().add(new GridBagLayout_Table(matrix).get_table());
        frame.pack();
        frame.setVisible(true);
    }
}
